module.exports = {
  // front end
  frontend: {
    watch_client_proxy: 'http://localhost:4000',
    watch_list: ['./src/*/*', './views/*', './views/*/*'],
    dev_task: ['handle_common_js', 'handle_common_css', 'index', 'login', 'watch-client'],
    prod_task: ['handle_common_js', 'handle_common_css', 'index', 'login'],
    rebuild_list: [
      { entryDir: 'src/index/', outputDir: 'public/index/', preName: 'index' },
      { entryDir: 'src/login/', outputDir: 'public/login/', preName: 'login' }
    ],
    page_list: [
      { pageName: 'index', entryDir: 'src/index/', outputDir: 'public/index/' },
      { pageName: 'login', entryDir: 'src/login/', outputDir: 'public/login/' }
    ],
    common_js_src_dir: ['src/js/*.js'],
    common_css_src_dir: ['src/css/*.css'],
    common_css_output_dir: 'public/css/',
    common_js_output_dir: 'public/js/'
  },

  // back end
  backend: {
    port: 4000
  }
};